home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 46
/
Amiga Format CD46 (1999-10-20)(Future Publishing)(GB)[!][issue 1999-12].iso
/
-serious-
/
misc
/
verscheck
/
install_english
< prev
next >
Wrap
Text File
|
1999-09-06
|
12KB
|
540 lines
; $VER: VersCheck-Installerscript V 1.6 (02.09.1999)
; Installer script to install/update VersCheck
; written by Michaela Prüß
( complete 0 )
( user 2 )
;=============================================================================
; output and help
( set @abort-button "Abort" )
( set #bad-kick ( cat "Need KickStart 2.0 or higher" ) )
( set #inst-1 ( cat "Copy file..." ) )
( set #inst-1inf ( cat "Copy icon..." ) )
( set #confirm
( cat "\nInstall VersCheck on harddisk."
"\n\nPlease choose your CPU type:"
) )
( set #confirm-help
( cat "\nVersCheck will be installed in a later choosen"
"\ndrawer."
"\nFirst set the cpu-version that you want to be"
"\ninstalled!"
"\n\nMichaela Prüß, 13.08.1999\n"
) )
( set #docprompt
( cat "Path for the document's.\n"
"A drawer 'VersCheckGuide' will be added there!"
) )
( set #dochelp
( cat "Drawer for the documentation.\n"
"Only the guide for same language\n"
"as the installed catalog file\n"
"will be installed!"
) )
( set #scriptprompt
( cat "Install CheckGuide comparelists?"
"\nA drawer 'scripts' will be added there!\n"
) )
( set #scripthelp
( cat "\nDo you want to install the comparelists from"
"\nthe CheckGuides?\n"
"\nThe drawer will be added in same location as"
"\nthe VersCheck program."
) )
( set #verprompt
( cat "Install a patched version command?"
) )
( set #verhelp
( cat "See goodies/version.readme for info's!"
) )
( set #envprompt
( cat "Install environment?"
) )
( set #envhelp
( cat "Install Env-Variables!"
"\nIf not, defaults will be used!\n"
) )
( set #scprompt
( cat "Install the system compare script?"
"\nIncluding two RT-Requester-programs!\n"
) )
( set #schelp
( cat "This will install:"
"\nScript: Check_your_system"
"\n Icon: Check_your_system.info"
"\n Tool: RTFileReq"
"\n Tool: RTSimpleReq\n"
) )
( set #confirm-1 ( cat "68000" ) )
( set #confirm-2 ( cat "68010" ) )
( set #confirm-3 ( cat "68020 / 68881" ) )
( set #confirm-4 ( cat "68030 / 68882" ) )
( set #confirm-5 ( cat "68040 / FPU 040" ) )
( set #confirm-6 ( cat "68060 / FPU 060" ) )
( set #confirm-7 ( cat "PowerPC with PowerUp" ) )
( set #confirm-8 ( cat "PowerPC with Warp-OS" ) )
( set #language
( cat "\nWitch Language do you want to install?"
"\nBuild in is english:"
) )
( set #language-help
( cat "\nChoose the language do you want for install!"
"\nRead the Guide carefully!\n"
) )
( set #language-1 ( cat "English (build in)" ) )
( set #language-2 ( cat "Deutsch" ) )
( set #language-3 ( cat "Norsk (english doc's)" ) )
( set #language-4 ( cat "Svenska (english doc's)" ) )
( set #askdir
( cat "Select path for the programfile"
"\nNo drawer will be added!"
) )
( set #askdir-help
( cat "Choose the location for installing"
"\nVersCheck."
) )
( set #ready
( cat "\nEnd of installation!\n"
"\nVersCheck is complete installed and ready for"
"\nusage!\n"
) )
( set #first
( cat "\nWelcome to the installation of\nVersCheck!\n\n"
"\n\n(c) 1998, 1999 by Michaela Prüß"
"\n\nImportant: Please read the manuals!\n"
) )
;=============================================================================
; Kick 2.x or higher?
( complete 1 )
( if ( < ( / ( getversion ) 65536 ) 37 ) ( ( abort #bad-kick ) ) )
( onerror
(
( if ( > @ioerr 0 )
( message ( cat "\n ERROR CODE: " @ioerr "\n\n" ) )
)
) )
( message #first )
( complete 5 )
( if ( patmatch "68000" ( database "cpu" ) )
( ( set #cpu 0 ) )
)
( if ( patmatch "68010" ( database "cpu" ) )
( ( set #cpu 1 ) )
)
( if ( patmatch "68020" ( database "cpu" ) )
( ( set #cpu 2 ) )
)
( if ( patmatch "68030" ( database "cpu" ) )
( ( set #cpu 3 ) )
)
( if ( patmatch "68040" ( database "cpu" ) )
( ( set #cpu 4 ) )
)
( if ( patmatch "68060" ( database "cpu" ) )
( ( set #cpu 5 ) )
)
( set action
( askchoice
( default #cpu )
( prompt #confirm )
( help #confirm-help )
( choices #confirm-1
#confirm-2
#confirm-3
#confirm-4
#confirm-5
#confirm-6
#confirm-7
#confirm-8
) ) )
( complete 10 )
( set langver
( askchoice
( prompt #language )
( help #language-help )
( choices #language-1
#language-2
#language-3
#language-4
) ) )
( complete 15 )
( set name
( askdir
( prompt #askdir )
( help #askdir-help )
( default "c:" )
( disk )
) )
( complete 20 )
( user 0 )
( if ( = action 0 )
( ( copyfiles
( prompt #inst-1 )
( dest name )
( source "VersCheck" )
( newname "VersCheck" )
( infos )
) ) )
( if ( = action 1 )
( ( copyfiles
( prompt #inst-1 )
( dest name )
( source "VersCheck.010" )
( newname "VersCheck" )
( infos )
) ) )
( if ( = action 2 )
( ( copyfiles
( prompt #inst-1 )
( dest name )
( source "VersCheck.020" )
( newname "VersCheck" )
( infos )
) ) )
( if ( = action 3 )
( ( copyfiles
( prompt #inst-1 )
( dest name )
( source "VersCheck.030" )
( newname "VersCheck" )
( infos )
) ) )
( if ( = action 4 )
( ( copyfiles
( prompt #inst-1 )
( dest name )
( source "VersCheck.040" )
( newname "VersCheck" )
( infos )
) ) )
( if ( = action 5 )
( ( copyfiles
( prompt #inst-1 )
( dest name )
( source "VersCheck.060" )
( newname "VersCheck" )
( infos )
) ) )
( if ( = action 6 )
( ( copyfiles
( prompt #inst-1 )
( dest name )
( source "VersCheck.elf" )
( newname "VersCheck" )
( infos )
) ) )
( if ( = action 7 )
( ( copyfiles
( prompt #inst-1 )
( dest name )
( source "VersCheck.wos" )
( newname "VersCheck" )
( infos )
) ) )
( complete 29 )
( copyfiles
( prompt #inst-1inf )
( dest name )
( source "VersCheck.info" )
( newname "VersCheck.info" )
( infos )
)
( complete 30 )
( if ( = langver 0 )
( ( copyfiles
( prompt #inst-1 )
( dest "Locale:catalogs/english" )
( source "locale/VersCheck.english" )
( newname "VersCheck.catalog" )
) ) )
( if ( = langver 1 )
( ( copyfiles
( prompt #inst-1 )
( dest "Locale:catalogs/deutsch" )
( source "locale/VersCheck.deutsch" )
( newname "VersCheck.catalog" )
) ) )
( if ( = langver 2 )
( ( copyfiles
( prompt #inst-1 )
( dest "Locale:catalogs/norsk" )
( source "locale/VersCheck.norsk" )
( newname "VersCheck.catalog" )
) ) )
( if ( = langver 3 )
( ( copyfiles
( prompt #inst-1 )
( dest "Locale:catalogs/svenska" )
( source "locale/VersCheck.svenska" )
( newname "VersCheck.catalog" )
) ) )
( complete 40 )
( user 2 )
( set dnam
( askdir
( prompt #docprompt )
( help #dochelp )
( default "help:" )
( disk )
) )
( complete 50 )
( copyfiles
( prompt #inst-1 )
( dest ( tackon dnam "VersCheckGuide" ) )
( source "ReadMe.1st" )
( infos )
)
( complete 60 )
( copyfiles
( prompt #inst-1 )
( dest ( tackon dnam "VersCheckGuide" ) )
( source "Doku/VersCheck.ReadMe" )
( infos )
)
( complete 70 )
( if ( = langver 0 )
( ( copyfiles
( prompt #inst-1 )
( dest ( tackon dnam "VersCheckGuide" ) )
( source "Doku/VersCheck_english.Guide" )
( newname "VersCheck.Guide" )
( infos )
) ) )
( if ( = langver 1 )
( ( copyfiles
( prompt #inst-1 )
( dest ( tackon dnam "VersCheckGuide" ) )
( source "Doku/VersCheck_deutsch.Guide" )
( newname "VersCheck.Guide" )
( infos )
) ) )
( if ( = langver 2 )
( ( copyfiles
( prompt #inst-1 )
( dest ( tackon dnam "VersCheckGuide" ) )
( source "Doku/VersCheck_english.Guide" )
( newname "VersCheck.Guide" )
( infos )
) ) )
( if ( = langver 3 )
( ( copyfiles
( prompt #inst-1 )
( dest ( tackon dnam "VersCheckGuide" ) )
( source "Doku/VersCheck_english.Guide" )
( newname "VersCheck.Guide" )
( infos )
) ) )
( complete 80 )
( set action
( askchoice
( prompt #scriptprompt )
( help #scripthelp )
( choices "Yes"
"No"
) ) )
( complete 81 )
( if ( = action 0 )
( copyfiles
( prompt #inst-1 )
( dest ( tackon name "scripts" ) )
( source "scripts" )
( pattern "#?" )
) )
( complete 82 )
( set action
( askchoice
( prompt #envprompt )
( help #envhelp )
( choices "Yes"
"No"
) ) )
( complete 83 )
( if ( = action 0 )
( copyfiles
( prompt #inst-1 )
( dest "ENVARC:" )
( source "ENV-ARCHIVE" )
( pattern "#?" )
) )
( complete 84 )
( if ( = action 0 )
( copyfiles
( prompt #inst-1 )
( dest "ENV:" )
( source "ENV-ARCHIVE" )
( pattern "#?" )
) )
( complete 85 )
( set action
( askchoice
( prompt #verprompt )
( help #verhelp )
( choices "Yes"
"No"
) ) )
( complete 86 )
( if ( = action 0 )
( copyfiles
( prompt #inst-1 )
( dest name )
( source "Goodies/Version" )
( newname "Version" )
( infos )
) )
( complete 87 )
( if ( = action 0 )
( copyfiles
( prompt #inst-1 )
( dest dnam )
( source "Goodies/Version.readme" )
( newname "VersCheckGuide/Version.readme" )
( infos )
) )
( complete 90 )
( set action
( askchoice
( prompt #scprompt )
( help #schelp )
( choices "Yes"
"No"
) ) )
( complete 92 )
( if ( = action 0 )
( copyfiles
( prompt #inst-1 )
( dest name )
( source "goodies/RTFileReq" )
( newname "RTFileReq" )
( infos )
) )
( complete 94 )
( if ( = action 0 )
( copyfiles
( prompt #inst-1 )
( dest name )
( source "goodies/RTSimpleReq" )
( newname "RTSimpleReq" )
( infos )
) )
( complete 96 )
( if ( = action 0 )
( copyfiles
( prompt #inst-1 )
( dest name )
( source "goodies/Check_Your_System" )
( newname "Check_Your_System" )
( infos )
) )
( complete 98 )
( if ( = action 0 )
( copyfiles
( prompt #inst-1 )
( dest name )
( source "goodies/Check_Your_System.info" )
( newname "Check_Your_System.info" )
( infos )
) )
( message #ready )
( complete 100 )
( exit ( quiet ) )
;=============================================================================
; we never get here, but this keeps the Installer from being a pest
( welcome )